<template>
    <div>
        <pagination :cur="cur" :allNumber="all" :pageSize="pageSize" @change="changePage"></pagination>
    </div>
</template>

<script>
import Pagination from 'base/pagination/pagination'
export default {
    data(){
        return{
            cur:10,
            all:1000,
            pageSize:30
        }
    },
    methods:{
        changePage(cur){
            console.log('emit',cur)
            this.cur=cur;
        }
    },
    components:{
        Pagination
    }
}
</script>

<style scoped lang="stylus" rel="stylesheet/stylus">
@import '~common/stylus/variable';

</style>
